<?php
include_once($site_path."/includes/general.php");

function getAllCategory()
{
	$query="SELECT * FROM category";
	return getData($query);
}

function getSubjectById($id)
{
	$query="SELECT * FROM category WHERE id='$id'";
	return getData($query);
}

?>